<script language="javascript" type="text/javascript">
function helpTipEvt(control,defaultValue){
	
	$(control).val(defaultValue);
	$(control).click(function () { if ($(control).val() == defaultValue) { $(control).val(''); } });
	$(control).blur(function () {if ($(control).val() == '') $(control).val(defaultValue);});
}
$(document).ready(function(){	   
		$('#lnkbtnAddIncome').button();
		$('#btnSubmit').button();
		$('#lnkbtnExport').button();
		helpTipEvt ('#txtstartdate','Start searching from date ... ');						
		helpTipEvt ('#txtenddate','End searching from date ...');						
		helpTipEvt ('#txtminamount','Min amount (GTQ)');						
		helpTipEvt ('#txtmaxamount','Max ammount (GTQ)');								
		helpTipEvt ('#txtCategory','Enter a category name');
		helpTipEvt ('#txtTrackingNotes','Tracking notes');
		helpTipEvt ('#txtIncomeID','IncomeID');
	});    
</script>
<form id="form1" action="?<?=$_SERVER['QUERY_STRING']?>">
<div class="workspace_panel">
	<div class="workspace_panel_row">
	<div class="workspace_panel_cell">
		<div style="display:table; width:100%;">
			<div style="display:table-row">
				<div style="display:table-cell; width:20%;"><h1>Incomes Tracking</h1></div>
				<div style="display:table-cell; text-align:right;">					
					<a href="" id="lnkbtnExport" name = "lnkbtnExport">Export </a>	
					<a href="" id="lnkbtnAddIncome" name = "lnkbtnAddIncome">Add an Income </a>	
					
				</div>
			</div>
		</div>			
	</div>
	</div>	
	<div class="workspace_panel_row">
		<div class="workspace_panel_cell">
		<h2> Search for Incomes </h2>
		<p> Please enter a search criteria to find an income. </p>
			<div class="frmContainer" style="width:50%">
				<div class="frmRow">				
					<div class="frmContentCell"> Default Enterprise - Dreamstore </div>
				</div>
				<div class ="frmRow"> 					
					<div class="frmContentCell">
						<input type="textbox" id="txtIncomeID" name="txtIncomeID" class="controlTextBox" style="width: 300px;" /><br />
						<input type="textbox" id="txtstartdate" name="txtstartdate" class="controlTextBox" style="width: 300px;" /> <br />
						<input type="textbox" id="txtenddate" name="txtenddate" class="controlTextBox" style="width: 300px;" /><br />
						<input type="textbox" id="txtminamount" name="txtminamount" class="controlTextBox" style="width: 300px;" /><br />
						<input type="textbox" id="txtmaxamount" name="txtmaxamount" class="controlTextBox" style="width: 300px;" /><br />
						<input type="textbox" id="txtCategory" name="txtCategory" class="controlTextBox" style="width: 300px;" /><br />
						<input type="textbox" id="txtTrackingNotes" name="txtTrackingNotes" class="controlTextBox" style="width: 300px;" />
						
					</div>
				</div>
				<div class ="frmRow"> 				
					<div class="frmContentCell">						
						<input type="submit" id="btnSubmit" name="btnSubmit" value="Search" />
					</div>
				</div>
			</div>
		</div>		
	</div>
</div>
</form>